package com.bootdo.jiashan.service;

import com.bootdo.jiashan.domain.SaleOrderDO;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 销售单
 * 
 * @author hejinen
 * @email 1992lcg@163.com
 * @date 2019-07-28 17:23:39
 */
public interface SaleOrderService {
	
	SaleOrderDO get(Integer id);
	
	List<SaleOrderDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SaleOrderDO saleOrder) throws IllegalAccessException;
	
	int update(SaleOrderDO saleOrder,String removeIds) throws IllegalAccessException;
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    XSSFWorkbook exportExcel(Integer saleOrderId, HttpServletResponse response);
}
